
package com.chongchong.flow.wrapper;

import com.chongchong.core.mp.support.BaseEntityWrapper;
import com.chongchong.core.tool.utils.BeanUtil;
import com.chongchong.flow.entity.FlowTaskComment;
import com.chongchong.flow.vo.FlowTaskCommentVo;

/**
 * 附件表包装类,返回视图层所需的字段
 *
 * @author
 * @since 2021-12-16
 */
public class FlowOperationWrapper extends BaseEntityWrapper<FlowTaskComment, FlowTaskCommentVo>  {

    public static FlowOperationWrapper build() {
        return new FlowOperationWrapper();
    }

	@Override
	public FlowTaskCommentVo entityVO(FlowTaskComment flowTaskComment) {
		FlowTaskCommentVo flowTaskCommentVo = BeanUtil.copy(flowTaskComment, FlowTaskCommentVo.class);

		return flowTaskCommentVo;
	}

}
